package org.thanos.iot.dao.menu;

import org.thanos.iot.entity.menu.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMenuMapper {

    List<SysMenu> queryAll();

    List<String> queryAllPermits(@Param("list") List<Integer> menuIds);

    List<SysMenu> queryByMenuIds(@Param("list") List<Integer> menuIds);

    List<String> queryOperations(@Param("id") Integer id);
}